﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace SerialPortExample.Model;

public partial class ImageItem : ObservableObject
{
    private string _id;
    private string _imageSource;
    private string _tempC;
    private double _tempCValue;
            
    [ObservableProperty] 
    private double _DutyCycle;

    public string Id
    {
        get => _id;
        set => SetProperty(ref _id, value);
    }

    public string ImageSource
    {
        get => _imageSource;
        set => SetProperty(ref _imageSource, value);
    }

    public string TempC
    {
        get => _tempC;
        set => SetProperty(ref _tempC, value);
    }

    public double TempCValue
    {
        get => _tempCValue;
        set => SetProperty(ref _tempCValue, value);
    }
}